const bytenode = require('bytenode')
const path = require('path')

bytenode.compileFile({
  filename: 'D:/ruanjian/flyele/resources/app/main.prod.js',
  // output: path.join(__dirname, 'dist/main.jsc'),
  compileAsModule: true,
  electron: true,
}).then((res) => {
  console.log('aaa', res)
})